package com.yaoxun.bored.model.sys.authority;

import java.util.Arrays;

public class RoleConfig {

	private Integer roleId;
	
	private Integer[] menuIds;
	
	private Integer[] authIds;
	
	public RoleConfig() {
		super();
	}

	public RoleConfig(Integer roleId, Integer[] menuIds, Integer[] authIds) {
		super();
		this.roleId = roleId;
		this.menuIds = menuIds;
		this.authIds = authIds;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer[] getMenuIds() {
		return menuIds;
	}

	public void setMenuIds(Integer[] menuIds) {
		this.menuIds = menuIds;
	}

	public Integer[] getAuthIds() {
		return authIds;
	}

	public void setAuthIds(Integer[] authIds) {
		this.authIds = authIds;
	}

	@Override
	public String toString() {
		return "RoleConfig [roleId=" + roleId + ", menuIds=" + Arrays.toString(menuIds) + ", authIds="
				+ Arrays.toString(authIds) + "]";
	}
	
}
